laravel pluralization text

28

echo Illuminate\Support\Str::plural('list', 1); // list
echo Illuminate\Support\Str::plural('list', 2); // lists

Comments

Submit
0 Comments